package com.lct.d6_static_singleinstance;

public class Test1 {
    public static void main(String[] args) {
        //目标：实现单例设计模式
        A a1 = A.getInstance();
        A a2 = A.getInstance();
        System.out.println(a1);
        System.out.println(a2);

    }


}
